import React, {Component} from 'react';
import { Link} from 'react-router-dom';
import $ from 'jquery';
import BottomCon from '../bottom/bottom';

import './foot.scss'

export default class FootCon extends Component {
    goTop =()=>{
        $("html,body").animate({scrollTop: 0}, 500);
    }

    render() {
        return (
            <div className='footAll'>
                <div className='bottomCon'>
                    <BottomCon/>
                </div>

                <div className='footCon'>
                    <div><a href="http://www.3d-home.cn/pms/act_m_p515.html">最新活动</a></div>
                    <div><Link to='/chatonline'>在线咨询</Link></div>
                    <div id='goTop' onClick={this.goTop}>回到顶部</div>
                </div>
            </div>
        )
    }
}

